<template>
    <h3>根据一个 Vue 创建的代理返回其原始对象，核心即拦截读取__v_raw属性时返回原始值。</h3>
    <el-button @click="handleClick">show</el-button>
</template>

<script setup>
import { toRaw, reactive, } from "vue"

const deepCounter = reactive({
    counter: 1
})

const handleClick = () => {
    console.log(toRaw(deepCounter))
}
</script>

<style lang="scss" scoped>
</style>